package com.ilxqx.framework;

import com.github.xiaoymin.swaggerbootstrapui.annotations.EnableSwaggerBootstrapUI;
import com.ilxqx.framework.util.SpringUtils;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author venus
 */
@SpringBootApplication
@Import(SpringUtils.class)
@EnableScheduling
@EnableSwagger2
@EnableSwaggerBootstrapUI
public class FrameworkApplication {

	public static void main(String[] args) {
		System.setProperty("es.set.netty.runtime.available.processors", "false");
		SpringApplication.run(FrameworkApplication.class, args);
	}

}
